﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Repeater.aspx.cs" Inherits="EmployeesNorthWind.Repeater" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">
    <title></title>
</head>

<body>
    <form id="formRepeter" runat="server">
        <asp:Repeater runat="server" ID="repeater">
            <HeaderTemplate>
                <span style="color:Green">Details:</span><br />
            </HeaderTemplate>
            <ItemTemplate>
                <%# Eval("TitleOfCourtesy") + "" + Eval("FirstName") + " " + Eval("LastName") %> <br />
            </ItemTemplate>
            <AlternatingItemTemplate>
                <%# Eval("TitleOfCourtesy") + "" + Eval("FirstName") + " " + Eval("LastName") %> <br />
            </AlternatingItemTemplate>
        </asp:Repeater> <br />
        <asp:TreeView runat="server" ID="tree"></asp:TreeView>
        <asp:Button runat="server" ID="buttonBack" Text="Back" PostBackUrl="~/Main.aspx"/>
    </form>
</body>

</html>
